package com.bwie.user.mapper;

import com.bwie.common.domain.User;
import com.bwie.common.domain.request.UserRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserMapper {
    User findByPhone(@Param("phone") String phone);

    Integer regist(UserRequest userRequest);
}
